﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TJDevHouse.Starcraft.Game
{
	public class WalkTileMapCoordinate : MapCoordinate
	{
		public WalkTileMapCoordinate(int x, int y) : base(x, y) { }

		public override PixelMapCoordinate GetPixelCoordinate()
		{
			return new PixelMapCoordinate(X * 8, Y * 8);
		}

		public override WalkTileMapCoordinate GetWalkTileCoordinate()
		{
			return this;
		}

		public override BuildTileMapCoordinate GetBuildTileCoordinate()
		{
			return new BuildTileMapCoordinate(X / 4, Y / 4);
		}
	}
}
